package com.chulianyuang.pojo;

import java.math.BigDecimal;

/**
 * 报销单明细实体类
 * 对应表: big_claim_voucher_detail
 */
public class ClaimVoucherDetail {
    private Integer id;
    private Integer mainId; // 关联主表ID
    private String item;    // 项目类别
    private BigDecimal account; // 金额
    private String des;     // 费用说明

    public ClaimVoucherDetail() {
    }

    public ClaimVoucherDetail(Integer id, Integer mainId, String item, BigDecimal account, String des) {
        this.id = id;
        this.mainId = mainId;
        this.item = item;
        this.account = account;
        this.des = des;
    }

    // getter和setter方法
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getMainId() {
        return mainId;
    }

    public void setMainId(Integer mainId) {
        this.mainId = mainId;
    }

    public String getItem() {
        return item;
    }

    public void setItem(String item) {
        this.item = item;
    }

    public BigDecimal getAccount() {
        return account;
    }

    public void setAccount(BigDecimal account) {
        this.account = account;
    }

    public String getDes() {
        return des;
    }

    public void setDes(String des) {
        this.des = des;
    }



    @Override
    public String toString() {
        return "ClaimVoucherDetail{" +
                "id=" + id +
                ", mainId=" + mainId +
                ", item='" + item + '\'' +
                ", account=" + account +
                ", des='" + des + '\'' +
                '}';
    }
}